# CC = i686-w64-mingw32-gcc
CC = i686-pc-mingw32-gcc
LDFLAGS = -lkernel32 -lgdi32 -mwindows

all: cairo-text-demo.exe c-text-demo.exe

cairo-text-demo.exe: cairo-text-demo.c
	$(CC) $< -I./include -L. -static -lcairo -lfreetype -lbz2 -lz -lmsimg32 -lfontconfig -lexpat -liconv -lfreetype -lpixman-1 -lpng -o$@ $(LDFLAGS)

c-text-demo.exe: c-text-demo.c
	$(CC) $< -I./include -L. -lcairo -o$@ $(LDFLAGS)

